@layout("/backend/common/_container.html"){
<div class="hisui-panel" fit="true" style="padding:10px;border:0px;">
	<div class="hisui-layout" data-options="fit:true">
		<div data-options="region:'west'" style="width:215px;padding:0;border:0px;">
			<div class="hisui-panel" title="病种列表"
				 data-options="iconCls:'icon-resort',fit:true,headerCls:'panel-header-gray'" style="width:200px;">
				<div class="dhcc-hisui-toolbar">
					<div class="dhcc-hisui-toolbar-seach">
						<input type="text" id="seachKey" value="" class="textbox" />
					</div>
				</div>
				<ul id="entityTree" class="ztree"></ul>
			</div>
		</div>
		<div id="workArea" data-options="region:'center'" style="padding:0 0 0 10px;border:0px;">
			<#Hidden id="times" value='${combMap.TipsTime}' />
			<#Hidden id="rates" value='${combMap.TipsRate}' />
			<#Hidden id="exps" value='${combMap.TipsExp}' />
			<div class="hisui-layout" data-options="fit:true">
				<div class="hisui-panel" data-options="region:'north',fit:true" style="height:auto;border:0;">
					<div class="hisui-panel" fit='true' title="诊疗内容维护"
						 data-options="iconCls:'icon-apply-check',fit:true,headerCls:'panel-header-gray'"
						 style="border-bottom:1px solid #ccc;border-radius:0;">
						<form method='post' id="sdsQcentityRuleInfoForm" name="sdsQcentityRuleInfoForm"
							  enctype="multipart/form-data">
							<table style="width:99%;border-collapse:separate;border-spacing:10px">
								<tr>
									<#Hidden id="id" value="" />
									<#Hidden id="entityId" value="" />
									<td colspan="1" style="text-align:right;"><font color='red'>*</font>提示时机</td>
									<td colspan="9">
										<div id="tipsTimDr"></div>
									</td>
								</tr>
								<tr>
									<td colspan="1" style="text-align:right;">提示天数</td>
									<td colspan="2">
										<input class='textbox' style="width:140px" id="tipDays">
									</td>
									<td colspan="1" style="text-align:right;">提示频率</td>
									<td colspan="2">
										<input class='hisui-combobox textbox' style="width:140px" id="tipsRate" />
									</td>
									<td colspan="1" style="text-align:right;" style="">可手动结束</td>
									<td colspan="2">
										<input id="handStop" class='hisui-checkbox' type="checkbox"/>
									</td>
								</tr>
								<tr >
									<td colspan="1" style="text-align:right">关联函数</td>
									<td colspan="7">
										<input class='hisui-combobox textbox' style="width:380px;" id="linkExp" />
									</td>
								</tr>
								<tr>
									<td colspan="1" style="text-align:right">函数入参</td>
									<td colspan="7">
										<input class='textbox' style="width: 373px;" id="expParam">
									</td>
								</tr>
								<tr style="height: 150px;">
									<td colspan="1" style="text-align:right">提示内容</td>
									<td colspan="9" rowspan="4">
										<textarea id="tipsContent" class="textbox" style="width:98%;height: 140px;"></textarea>
									</td>
								</tr>
							</table>
							<div class="dhcc-con-center" style="width: 100%;text-align: center;margin-top: 50px;">
								<#Button name="更新" clickFun="SdsQcentityTips.edit()"/>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<script src="${ctxPath}/static/backend/sds/sdsqcentitytips/sdsqcentitytips.js"></script>
@}
